package com.kbbywyclient.ui.contarct;

import com.kbbywyclient.data.entity.MinePartnerData;

import java.util.List;

/**
 * Created by Jiangzx on 2017/11/2 9:48.
 */

public class MinePartnerContract {
    public interface View{
        void onHeaderSuccess(MinePartnerData.Header header);

        //清空列表
        void clearListUi();

        void completeLoadContent(boolean canLoadMore, List<MinePartnerData.Content.Partner> partners);
    }

    public interface Presenter{
        //加载头部数据，包括下拉列表的数据
        void loadHeader(int userId);

        //加载列表
        void loadList(int userId,String keyWord,int city,int role,int page);

        //清空列表数据
        void clearListData();
    }
}
